package com.study.spmongodb.book.wwj.char17;

/**
 * @author MI
 * @version 1.0
 * @date 2020/11/29 11:34
 */
public class WriteLock implements Lock {

    private final ReadWriteLockImpl readWriteLock;

    WriteLock(ReadWriteLockImpl readWriteLock) {
        this.readWriteLock = readWriteLock;
    }

    @Override
    public void lock() throws InterruptedException {
    }

    @Override
    public void unlock() {

    }
}
